// types/list.d.ts
import {ReservationDto} from "../api/reservation"

export interface ListGroup {
  key: number;
  title: string;
  count: number;
  hasMore:boolean;
  list: ReservationDto[];
}

export interface ListState {
  groups: ListGroup[];
  loading: boolean;
  refreshing: boolean;
  hasMore: boolean;
  page: number;
  pageSize: number;
  activeGroup: number; // 当前激活的分组
}